use solana_program::{
    account_info::{AccountInfo, next_account_info},
    entrypoint,
    entrypoint::ProgramResult,
    pubkey::Pubkey,
    msg,
};
entrypoint!(process_instruction);

pub fn process_instruction(
    program_id: &Pubkey,
    accounts: &[AccountInfo],
    instruction_data: &[u8],
) -> ProgramResult {
 
    // Example of how to access account data
    let account_info_iter = &mut accounts.iter();
    let account = next_account_info(account_info_iter)?;
    
   
    msg!("Hello World from {}", account.key);
    Ok(())
}
